<#include "header.ftl" />
		<script type="text/javascript">mlog.stat.postClick('${post.id}');</script>
		<div class="row-fluid">
			<#include "sidebar.ftl" />
			<div class="span9">
				<div class="row-fluid">
					<#if post?exists>
						<ul class="breadcrumb">
							<li>
						    	<a href="${siteurl}">首页</a> <span class="divider">/</span>
						  	</li>
						  	<#if (post.catalogs?exists && post.catalogs?size > 0)>
								<li>
									分类：<#list post.catalogs as catalog><a href="${base}/catalog/catalog-${catalog.id}.html" rel="tag">${catalog.name}</a>&nbsp;&nbsp;</#list>
									<span class="divider">/</span>
								</li>
							</#if>
							<#if (post.tags?exists && post.tags?size > 0)>
								<li>
									标签：<#list post.tags as tag><a href="${base}/tag/tag-${tag.id}.html" rel="tag">${tag.name}</a>&nbsp;&nbsp;</#list>
									<span class="divider">/</span>
								</li>
							</#if>
						  	<li class="active">${post.title}</li>
						</ul>
                      	<@ad id=1 />
						<div class="post-entity">
							<div class="post-title">${post.title}<#if post.isTop><sup class="tip">置顶！</sup></#if></div>
							<div class="post-meta">
								作者：${post.author.alias}
								<#if (post.catalogs?exists && post.catalogs?size > 0)>
									分类：<#list post.catalogs as catalog><a href="${base}/catalog/catalog-${catalog.id}.html" rel="tag">${catalog.name}</a>&nbsp;&nbsp;</#list>
								</#if>
								<#if (post.tags?exists && post.tags?size > 0)>
									标签：<#list post.tags as tag><a href="${base}/tag/tag-${tag.id}.html" rel="tag">${tag.name}</a>&nbsp;&nbsp;</#list>
								</#if>
                             	 时间：${post.createTime?string("yyyy-MM-dd hh:mm:ss")}
								点击量：${post.views}
								<#if post.site?exists && post.site?has_content>
										转载自：${post.site!""}
								</#if>
								
							</div>
							<div class="post-content">
								${post.content}
							</div>
							
							<div class="post-meta-bottom">
								<div class="post-copyright">
									如非注明，本站文章均为原创，转载请注明出处。<br/>
									本站地址：<a href="${siteurl}" target="_blank" title="${sitename}">${sitename}</a> <a href="${siteurl}" target="_blank" title="${sitename}">${siteurl}</a><br/>
									本文地址：<a href="<@postUrl post="post" />" target="_blank" title="${post.title}"><@absolute_post_url /></a><br/>
								</div>
                              	<@ad id=1 />
							</div>
							<div class="line_dashed"></div>
							<div class="comment">
								<@m.widget path="/widget/comment/postComments?post=${post.id}" cache=false />
								<#--
								<#if post.commentStatus == "open">
									<div class="ds-thread" data-thread-key="POST_${post.id}" data-title="${post.title}"></div>
									<script type="text/javascript">
									var duoshuoQuery = {short_name:"mspring"};
										(function() {
											var ds = document.createElement('script');
											ds.type = 'text/javascript';ds.async = true;
											ds.src = 'http://static.duoshuo.com/embed.js';
											ds.charset = 'UTF-8';
											(document.getElementsByTagName('head')[0] 
											|| document.getElementsByTagName('body')[0]).appendChild(ds);
										})();
									</script>
								<#else>
									<h2>评论已关闭</h2>
								</#if>
								-->
							</div>
						</div>
					<#else>
						<div class="alert alert-error" style="padding:30px;font-size:24px;">
							404, 没找到您想要的文章。
						</div>
					</#if>
				</div>
			</div>
		</div>
<#include "footer.ftl" />
